<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!--common::heads这里为了演示，添加比较全的引入类型，参考下面代码-->
<head th:replace="common::heads(~{::title},~{::link},~{::style},~{::script})">
    <meta charset="UTF-8">
    <title>首页</title>

    <link href="/css/test.css" rel="stylesheet">
    <style>
        .styleTest{
            background-color: red;
        }
    </style>

    <script>
        function test(id) {
            alert(id)
        }
    </script>
</head>
<body>
    <!--整体-->
    <div class="parent">
        <div th:replace="common :: top"></div>
        <div class="middle">
            <div th:replace="common::left"></div>

            <div class="right"  style="display: flex;flex-direction: column;justify-content: center;align-content: center;align-items: center;">
                <div style="font-size: 28px;height: 40px;width: 300px">欢迎使用测试系统</div>
            </div>
        </div>
        <div th:replace="common::footer"></div>
    </div>
</body>
</html>